#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

# 执行代码检查，任何一个失败都会阻止提交
echo "🔍 Running lint check..."
pnpm lint:ci

echo "🎨 Running format check..."  
pnpm format:ci

echo "🔧 Running type check..."
pnpm type-check

echo "✅ All checks passed!"